/**
 * Zhz.net Inc.
 * Copyright (c) 2004-2010 All Rights Reserved.
 */
package com.zhz.lib.project.controller.form;

import com.zhz.project.common.util.alibaba.StringUtil;
import com.zhz.project.common.util.zhzutil.ZhzStringUtil;

/**
 * 
 * @author liwei
 * @version $Id: LibnewsForm.java, v 0.1 2010-12-12 下午02:55:01 liwei Exp $
 */
public class BookreviewForm extends BaseForm {
    private String subject;
    private String bookname;

    /**
     * @return the subject
     */
    public String getSubject() {
        return subject;
    }

    /**
     * @param subject
     *            the subject to set
     */
    public void setSubject(String subject) {
        if (StringUtil.isNotBlank(subject)) {
            this.subject = subject;
        } else {
            this.subject = null;
        }
    }

    /**
     * @return the bookname
     */
    public String getBookname() {
        return bookname;
    }

    /**
     * @param bookname
     *            the bookname to set
     */
    public void setBookname(String bookname) {

        if (StringUtil.isNotBlank(bookname)) {
            this.bookname = ZhzStringUtil.ISOtoUTF8AfterTrimIfNotNull(bookname);
        } else {
            this.bookname = null;
        }
    }

}
